<!DOCTYPE html>
<html>
    <head>
        <title><{$page_title}><{$page_title_suffix}></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <meta name="Keywords" content="<{$meta_keywords}>" />
        <meta name="Description" content="<{$meta_description}>" />
        <link href="/Sites/AppRes/bootstrap/css/bootstrap.css" rel="stylesheet">   
        <style type='text/css'>
            .header { border-bottom :solid 2px #e8e8e8; margin-bottom: 10px;}
            .logo { font-size:36px;}
            .header-user { text-align: right;}
            .footer { margin-top:10px; text-align: right; font-size:12px; color:#999;}
        </style>
        <script src="/Sites/AppRes/Jquery/jquery-1.8.3.min.js"></script>
        <script src="/Sites/AppRes/bootstrap/js/bootstrap.js"></script>
        <script src='/Sites/AppRes/xHeditor/1.1.14/xheditor-1.1.14-zh-cn.min.js'></script>
        <script type='text/javascript'>
            jQuery(document).ready(function($){
		var uploadurl='Sites/AppRes/ServerCommon/upload.php';
		$('.editor').xheditor({tools:'full',width:'100%',upLinkUrl:uploadurl,upLinkExt:'zip,rar,txt',upImgUrl:uploadurl,upImgExt:'jpg,jpeg,gif,png',upFlashUrl:uploadurl,upFlashExt:'swf',upMediaUrl:uploadurl,upMediaExt:'wmv,avi,wma,mp3,mid',html5Upload:false});                
  	});
        /**
         * 删除记录
         * @param {type} a
         * @param {type} url
         * @returns {undefined}
         * @since 1.0.0 2013-10-3 by sutroon
         * @example <a href='###' title='<{$row["Title"]}>' id="#<{$row['ID']}>" onclick=confirmADelete(this,"?m=article_list&action=delete&id=.key.")>删除</a>
         * @description id的值要加#号，防止冲突,占位符.key.表示id的值(不带#),title的值会出现在对话框中
         */
        function confirmADelete(a,url){
            var msg='您确定要删除 ['+$(a).attr('title')+'] 吗?';
            if(confirm(msg)) location.href=url.replace('.key.',$(a).attr('id').substr(1));
        }
        </script>
    </head>
    <body>
        <div class="container">
            <div class='header'>
                <div class='col-md-8'><div class='logo'><a href="?Index.html">WAUF网站后台管理系统</a></div></div>
                <div class="col-md-4"><div class='header-user'>您好,<{$USER_NAME}> <a href='?m=Login&action=loginout.html'>退出</a></div></div>
                <div class='clearfix'></div>
            </div>
            <div class="col-md-2">
                <div data-spy="affix" data-offset-top="200">
                    <ul class="nav nav-pills nav-stacked">                       
                        <li class="active"><a href='###'>资金账户</a>
                            <ul>
                                <li><a href='?m=Finance_Account_List.html'>账户管理</a></li>
                                <li><a href="?m=Finance_Recharge_List.html">充值管理</a></li>
                                <li><a href="?m=Finance_Withdrawal_List.html">提现管理</a></li>
                                <li><a href="?m=Finance_TransactionLog_List.html">交易日志</a></li>
                                <li><a href="?m=Tool_TruncateDB&group=finance.html">清空测试数据</a></li>
                            </ul>
                        </li> 
                        <li><a href='###'>网站设置</a>
                            <ul>
                                <li><a href='?m=Site_Setting.html'>网站设置</a></li>
                                <li><a href="?m=Page_List.html">栏目设置</a></li>
                                <li><a href="?m=Feedback_List.html">留言反馈</a></li>
                                <li><a href="?m=JoinUs_List.html">公司招聘</a></li>
                            </ul>
                        </li>
                        <li><a href="###">文章</a>
                            <ul>
                                <li><a href='?m=Article_List.html'>文章管理</a></li>
                                <li><a href='?m=Article_Edit.html'>新增文章</a></li>
                            </ul>
                        </li>
                        <li><a href="###">产品</a>
                            <ul>
                                <li><a href='?m=Product_List.html'>产品管理</a></li>
                                <li><a href='?m=Product_Edit.html'>新增产品</a></li>
                            </ul>
                        </li>
                        <li><a href="###">媒体</a>
                            <ul>
                                <li><a href='?m=Media_List.html'>媒体管理</a></li>
                                <li><a href='?m=Media_Edit.html'>新增媒体</a></li>
                            </ul>
                        </li>
                    </ul>
                </div>
            </div>
            <div class="col-md-10">
            <{$breadcrumb}>
            <{$pageheader}>
            <{block name='body'}>
            
            <{/block}>                
            </div>
            <div class='clearfix'></div>
            <div class='footer'>
                Copy Right (c) 2013 WAUF
            </div>
        </div>
    </body>
</html>
